<?php
	global $_W,$_GPC;
	if($_W['role']&&$_W['isajax']){
		$ucid = $_GPC['ucid'];
		$up  = pdo_update('mii_ang_ucard',array('use'=>'1'),array('id'=>$ucid));
		if($up){
			exit(json_encode(array('status'=>'1','msg'=>'核销成功')));
		}else{
			exit(json_encode(array('status'=>'2','msg'=>'核销失败')));
		}

	}else{
		exit(json_encode(array('status'=>'2','msg'=>'没有操作权限')));
	}

?>